<template>
    <div id="app">
        <router-view/>
    </div>
</template>
<script>
    import {initRoutes} from "./router";
    export  default {
        name:'app',
        created() {
            initRoutes()
        }
    }
</script>
<style>
    * {
        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }
    html, body{
        height: 100%;
    }
    #app{
        height: 100%;
    }
</style>
